package orm.litchi.mapper;

import orm.litchi.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Mapper
public interface UserMapper {

    int insert(User user);

    List<User> selectAll();

    List<User> getUserLike(String userName);

    User getUserByID(Integer id);
}
